function $id(id) {return document.getElementById(id)}
var slidebarH = $id('slidebar');
var summary = $id('summary');
var sumPage = $id('sumPage');
function getSumH() {
	var slideHeight = window.innerHeight - 68;
	slidebarH.style.height = slideHeight + "px";
	summary.style.height = slideHeight + "px";
}
getSumH();
function getMenu() {
	var menuLists = menuList.getElementsByTagName('li');
	var list = getAddress();
	console.log(list)
	for(var i = 0; i < menuLists.length; i++) {
		menuLists[i].index = i;
		menuLists[i].onclick = function() {
			for(var i = 0; i < menuLists.length;i++ ) {
				menuLists[i].setAttribute('class',"");
			}
			this.setAttribute('class',"active");
			sumPage.src = list[this.index];
		}
	}
}
getMenu()
// iframe address
function getAddress() {
	var list = ["../gathers/lists","../members/list"];
	return list;
}
